#!/bin/sh
for i in `grep 'ro' /proc/mounts | grep -v ':' | grep -v 'squash' | grep -v 'root' | grep -v 'proc' | cut -d' ' -f2`
do
mount -o remount,rw $i
done